package edu.scau.cxq.gp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @description 存储入库信息
 * @return
 * @author TLC
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_record_in")
public class RecordIn implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 入库编号
     */
    @TableId(value = "In_id", type = IdType.AUTO)
    private Long inId;

    /**
     * 仓库编号
     */
    @TableField("ware_id")
    private Long wareId;

    /**
     * 供应商编号
     */
    @TableField("sup_id")
    private Long supId;

    /**
     * 货物编号
     */
    @TableField("goods_id")
    private Long goodsId;

    /**
     * 入库时间
     */
    @TableField("In_time")
    private LocalDateTime inTime;

    /**
     * 货物数量（个数）
     */
    @TableField("in_count")
    private Integer inCount;

    /**
     * 货物占位(多少个货架)
     */
    @TableField("in_amount")
    private Integer inAmount;

    /**
     * 入库单价
     */
    @TableField("in_price")
    private Double inPrice;

}
